POV-Ray : Newsgroups : povray.newusers : using 3DWin include files ?? : Re: using 3DWin include files ?? Server Time
4 Nov 2024 21:25:25 EST (-0500)
  Re: using 3DWin include files ??  
From: Trevor Quayle
Date: 25 Sep 2001 14:34:39
Message: <3bb0ce3f$1@news.povray.org>
Try this for starters:

Open 3DWin
Select "3D Studio" for Import
Select "POV-Ray/Moray" for Export
Click Export "Options"
Select your version pf POVRay from the drop down box
Check everything in the "Specific" frame, except UDO/MDL click OK
Now Import... your object (i.e., Bee.3DS)
Click Export and select a directory and type a filename to export to, OK.
3DWin will create a bunch of .inc files and a .pov file
Open the .pov file in POVRay and render it, you should see the bee as this
is a ready-made scene of the object.
The .inc files contain the textures, camera, lighting, etc for the scene

BEE_a.inc = global settings
BEE_c.inc = camera
BEE_g.inc = calls in all include files needed
BEE_l.inc = lights
BEE_m.inc = textures
BEE_o.inc = object itself (~2MB in size)

Everything is done as #declares which BEE.pov calls to.  Note that the BEE
itself is a whole series of mesh objects in the BEE_o.inc file which may not
be easy to recognize.
If you follow through the .pov file and various .inc files you should be
able to figure out how it works and manipulate it a little bit.

That's all for now.
Good Luck

-tgq


--
camera{location z*13look_at 0}light_source{15 15looks_like{sphere{0 10
}pigment{rgb 1}finish{ambient 15}}}union{torus{3,0.5rotate x*90}cone{y
*4,.5,-y*8,0}cone{-x*4,.5,x*8,0}pigment{rgb<.7,.6,.4>}finish{ambient 0
diffuse 0reflection{1fresnel on metallic 1}}interior{ior 25}rotate 15}
plane{y,-7pigment{checker rgb 0rgb 1scale 4}finish{diffuse.1}}//   TGQ


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.